package com.xsh.service;

import com.github.pagehelper.PageInfo;
import com.xsh.pojo.Menu;

import java.util.LinkedHashSet;
import java.util.List;

public interface MenuService {

    LinkedHashSet<Menu> findAllMenu(String username);

    LinkedHashSet<Menu> findMenuTwo(String username, Integer parentId);

    List<Menu> findAll();

    PageInfo<Menu> findByPageInfo(String order, Integer limit, Integer offset);
}
